Why is no permission returned when calling API MV_CC_OpenDevice

Why is no permission returned when calling API MV_CC_OpenDevice

Cause 1

The camera is occupied.

Solution 1

Check if the camera is occupied or connected by other application.

Cause 2

The configured heartbeat timeout is too long, and the program exits abnormally without executing the API of shutting down device or destroying device handle. So the device remains occupied.

Solution 2

Wait till the heartbeat timed out or unplug the camera.

Why is no permission returned when calling API MV_CC_OpenDevice

Cause 1

The camera is occupied.

Solution 1

Check if the camera is occupied or connected by other application.

Cause 2

The configured heartbeat timeout is too long, and the program exits abnormally without executing the API of shutting down device or destroying device handle. So the device remains occupied.

Solution 2

Wait till the heartbeat timed out or unplug the camera.